package ${packageStr}.model;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.FieldFill;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.chaoyingtec.helmet.common.core.base.BaseModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
<#list table.imports as c>
import ${c};
</#list>

/**
* @Title: ${table.comment}实体类
* @Description: 表名：${table.tableName} ${table.comment}
* @date: ${date}
* @author: ${author}
*/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("${table.tableName}")
@ApiModel("${table.comment}")
public class ${table.className} extends BaseModel implements Serializable {
    <#list table.tableColumns as c>
    /** ${c.comment} */<#if c.annoStr??>${line}    ${c.annoStr}</#if>
    @ApiModelProperty(value = "${c.comment}")
    private ${c.javaType?if_exists } ${c.fieldName};
    </#list>

}